using System.Collections.Generic;
using FixMath;
using UniFramework.Actor;
using UnityEngine;

namespace UniFramework.Battle
{
	public class BulletObj
	{
		public BulletConfig config;
		public LogicActor release;
		public FixIntVector3 firePos; //发射的位置
		public FixIntVector3 fireAngle; //发射的角度
		public FixInt speed;
		public FixInt duration; //能够存活的时间
		public FixInt timeElapsed; //已经存活的时间
		public BulletTargetingFunction targetFunc; //在发射瞬间可以捕获一个目标
		public BulletTween tween; //移动方式
		public FixInt canHitDelay; //在多久之后是能够触发碰撞的
		public Dictionary<string, object> param;
		public int hitCnt;//碰撞次数
	}
}